<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
                <meta name="layout" content="main" />
        <title>Create Game</title>
    </head>
    <body>
     <g:form action="addMove" method="post" >
             <input type="hidden" name="id" value="${id}"/>
         <g:select optionKey="playerName" from="${playerList}" name="player" value="${playerList}" ></g:select>
          <br/>
         <input type="text" id="moveFromX" name="moveFromX" value="${fieldValue(bean: move, field: 'moveFromX')}"/>
         <input type="text" id="moveFromY" name="moveFromY" value="${fieldValue(bean: move, field: 'moveFromY')}"/>
         <input type="text" id="moveToX" name="moveToX" value="${fieldValue(bean: move, field: 'moveToX')}"/>
         <input type="text" id="moveToY" name="moveToY" value="${fieldValue(bean: move, field: 'moveToY')}"/>
         <br/>
         <input type="text" id="comments" name="comments" value="${fieldValue(bean: move, field: 'comments')}"/>
         <br/>
<input type="submit" value="Move" />
            </g:form>

    </body>
</html>
